home *** CD-ROM | disk | FTP | other *** search
- unit udemo1;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- TeEngine, Series, ExtCtrls, TeeProcs, Chart, Db, TeeData, StdCtrls,
- DBCtrls, Grids, DBGrids, Mask;
-
- type
- TForm1 = class(TForm)
- Chart1: TChart;
- DBGrid1: TDBGrid;
- DataSource1: TDataSource;
- DBNavigator1: TDBNavigator;
- SeriesDataSet1: TSeriesDataSet;
- DBEdit1: TDBEdit;
- Series1: TPieSeries;
- Label1: TLabel;
- Memo1: TMemo;
- procedure FormCreate(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm1.FormCreate(Sender: TObject);
- begin
- Series1.FillSampleValues(10);
- SeriesDataSet1.Close;
- SeriesDataSet1.Open;
- end;
-
- end.
-